namespace Test
{
    class TransformComponent: Component  // 类的继承
    {
        public TransformComponent(GameObject owner)
        :base(owner)
        {
            Console.WriteLine("TransformComponent: Construction");
        }

        override public void Start()
        {
            Console.WriteLine("TransformComponent: Start");
        }

        override public void Update()
        {
            Console.WriteLine("TransformComponent: Update");
        }
    }
}